#ifndef _TILEPROPERTYACTION_
#define	_TILEPROPERTYACTION_

#include "BaseAction.hpp"
#include "Content/Map.hpp"
#include "Utilities/StringHelper.hpp"

/** 
* Action used to change a tile sprite property.
*/
class TilePropertyAction: public BaseAction{
private:

    byte* target;
    byte originalValue;
    byte newValue;
public:
    TilePropertyAction(byte* prop, byte val, int tilex, int tiley);
    virtual void perform();
    virtual void undo();
};


#endif

